<template>
  <div class="goods">
    <detail-recommends-goodlist-item
      v-for="(item, index) in goods"
      :goods-item="item"
      :key="index"
    />
  </div>
</template>
<script>
import DetailRecommendsGoodlistItem from "./DetailRecommendsGoodlistItem.vue";

export default {
  name: "DetailRecommendsGoodlist",
  components: {
    DetailRecommendsGoodlistItem,
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style >
.goods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 5px;
}
</style>
